﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.UI.WebControls;

public partial class Addbid : System.Web.UI.Page
{
    BusinessLogic obj_businesslogic = new BusinessLogic();
    protected void Page_Load(object sender, EventArgs e)
    {
        lbllastbid.Text = Request.QueryString["lastbid"].ToString();
    }
    protected void btnsubmitbid_Click(object sender, EventArgs e)
    {
       
        if (obj_businesslogic.insertuserbid(Convert.ToInt32(Request.QueryString["auctionid"].ToString()), Convert.ToInt32(Session["userid"].ToString()),Convert.ToInt32(txtmybid.Text.ToString())))
        {

            Response.Write("bid added go to home..!!!");

        }
    }
}